package com.xxgc.vfc.auth.service;

import com.xxgc.vfc.api.dto.UserLoginDTO;
import com.xxgc.vfc.api.vo.LoginByPhoneAndPassVO;
import com.xxgc.vfc.api.vo.UserRegisterByPhoneVO;
import com.xxgc.vfc.auth.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.UnsupportedEncodingException;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 风清杨
 * @since 2023-11-13
 */
public interface IUsersService extends IService<Users> {
    boolean userRegisterByPhone(UserRegisterByPhoneVO userRegisterByPhoneVO) throws UnsupportedEncodingException;
    //通过手机号和密码登录
    UserLoginDTO loginByPhoneAndPass(LoginByPhoneAndPassVO loginByPhoneAndPassVO) throws UnsupportedEncodingException;
}
